package edu.upb.acs.jobsmaps.database.task;

import android.os.AsyncTask;
import edu.upb.acs.jobsmaps.database.mysql.ExternalDatabaseHelper;
import edu.upb.acs.jobsmaps.entity.Job;

/**
 * Created by dani on 5/26/2014.
 */
public class AddJobTask extends AsyncTask<Job, Void, Integer> {
	@Override
	protected Integer doInBackground(Job... params) {
		Integer companyId = ExternalDatabaseHelper.addJob(params[0]);

		return companyId;
	}
}
